<%@ Control Inherits="CVCommunity.Admin.DeletedReplies" %>
<%@ Register tagPrefix="forum" namespace="CVCommunity.Provider" assembly="CVCommunity.Provider"%> 

<script language="javascript">
function chkAllBox()
{
	var f = document.forms[0];
	var ischecked = f.checkall.checked;
	for (var i=0; i<f.elements.length; i++)
	{
		if (f.elements[i].type.toLowerCase() == "checkbox")
		{
			f.elements[i].checked = ischecked;
		}
	}
}
</script>

<form id="operate" runat="server">
<div class="grid">
<table cellspacing="0" width="100%">
<tr class="category forumno">
<td width="20"></td>
<td>内容预览(点击查看详细)</td>
<td width="80">主题(id)</td>
<td width="120">发表者</td>
<td width="120">发表时间</td>
</tr>
<asp:Repeater enableviewstate="false" id="list" runat="server">
<ItemTemplate>
<tr class="forumtd" style="font-size:12px;">
<td align="center"><forum:Span id="primarykey" runat="server"/></td>
<td><forum:Anchor id="content" target="_blank" runat="server"/></td>
<td><forum:Anchor id="topic" text="查看" target="_blank" runat="server"/>
(
<forum:Span id="topicid" runat="server"/>
)</td>
<td><forum:Anchor id="name" runat="server"/></td>
<td><forum:Span id="addtime" runat="server"/></td>
</tr>
</ItemTemplate>
</asp:Repeater>
<tr class="forumtd">
<td align="center"><input name="checkall" style="border:none;" id="checkall" type="checkbox" class="nogrid" onclick="chkAllBox()" /></td>
<td colspan="4">&nbsp;
<input type="radio" class="smallbox" name="option" checked="true"  value="1"/>
<label for="restore">还原到论坛中</label>
&nbsp;
<input type="radio" class="smallbox" name="option" value="2"/>
<label for="remove">彻底删除</label>
&nbsp; &nbsp;
<input type="submit" class="button" value="执 行" onclick="return confirm('确定吗?')" />
&nbsp;
<forum:Span id="result" class="t2" runat="server"/></td>
</tr>
<tr>
<td colspan="5" class="forumtd"><div class="right">&nbsp;&nbsp;</div><forum:Pager id="pager" per="20" runat="server"/></td>
</tr>
</table>
</div>
</form>